package com.jvtd.eyl.ui.guide;



import com.jvtd.eyl.base.BasePresenter;
import com.jvtd.eyl.data.DbManager;

import javax.inject.Inject;

import io.reactivex.disposables.CompositeDisposable;

/**
 * Created by Administrator on 2017/10/16.
 * 引导页
 */

public class GuidePresenter<V extends GuideMvpView> extends BasePresenter<V> implements GuideMvpPresenter<V>
{
  @Inject
  public GuidePresenter(DbManager dbManager, CompositeDisposable disposable)
  {
    super(dbManager, disposable);
  }

  @Override
  public void toActivity()
  {
    getDbManager().saveGuidePageState();
    getMvpView().openActivity();
  }
}
